Total Complexity | 15 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 259 |
Lines of code | 152 |
Logical lines of code | 59 |
Comment lines | 81 |
Methods | 7 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
register_rest_fields() | 40 | 5 | 74 | |
rest_pre_dispatch() | 57 | 3 | 17 | |
register_post_type() | 47 | 1 | 38 | |
sanitize_restriction_settings() | 69 | 2 | 6 | |
save_post() | 71 | 2 | 6 | |
init() | 65 | 1 | 8 | |
validate_restriction_settings() | 82 | 1 | 3 |